.class Lcom/xingbook/group/a/i;
.super Landroid/text/style/ClickableSpan;


# instance fields
.field final synthetic a:Lcom/xingbook/group/a/h;

.field private final synthetic b:Lcom/xingbook/group/a/m;


# direct methods
.method constructor <init>(Lcom/xingbook/group/a/h;Lcom/xingbook/group/a/m;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/a/i;->a:Lcom/xingbook/group/a/h;

    iput-object p2, p0, Lcom/xingbook/group/a/i;->b:Lcom/xingbook/group/a/m;

    invoke-direct {p0}, Landroid/text/style/ClickableSpan;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    const-string v1, "com.xingpark.group.common.ACTION_XBRES_OUTLINK"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    const-string v1, "type"

    iget-object v2, p0, Lcom/xingbook/group/a/i;->b:Lcom/xingbook/group/a/m;

    iget v2, v2, Lcom/xingbook/group/a/m;->a:I

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string v1, "id"

    iget-object v2, p0, Lcom/xingbook/group/a/i;->b:Lcom/xingbook/group/a/m;

    invoke-virtual {v2}, Lcom/xingbook/group/a/m;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Intent;)Z

    return-void
.end method

.method public updateDrawState(Landroid/text/TextPaint;)V
    .locals 1

    const/4 v0, 0x0

    iput v0, p1, Landroid/text/TextPaint;->bgColor:I

    invoke-virtual {p1, v0}, Landroid/text/TextPaint;->setUnderlineText(Z)V

    return-void
.end method
